﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using FBEntities.FBConnections.User;
using Newtonsoft.Json.Linq;

namespace FBEntities.FBObjects
{
    public class FBAlbum : IFBObject
    {
        public string id;
        public FBFrom from;
        public string name;
        public string description;
        public string location;
        public string link;
        public int count;
        public DateTime created_time;
        public DateTime updated_time;

        public FBPhotos photos;
        public FBComments comments;

        #region IFBObject Members

        public void Parse(JObject text)
        {
            FBParseUtilities.Parse(text, this);
        }

        #endregion
    }
}
